/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entity;

import java.sql.Date;

/**
 *
 * @author KAKAIT
 */
public class Bill {
    private String billid;
    private String username;
    private String datepurchase;
    private double totalamount;
    private boolean status;

    public Bill() {
    }

    public Bill(String billid, String username, String datepurchase, double totalamount, boolean status) {
        this.billid = billid;
        this.username = username;
        this.datepurchase = datepurchase;
        this.totalamount = totalamount;
        this.status = status;
    }

    /**
     * @return the billid
     */
    public String getBillid() {
        return billid;
    }

    /**
     * @param billid the billid to set
     */
    public void setBillid(String billid) {
        this.billid = billid;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the datepurchase
     */
    public String getDatepurchase() {
        return datepurchase;
    }

    /**
     * @param datepurchase the datepurchase to set
     */
    public void setDatepurchase(String datepurchase) {
        this.datepurchase = datepurchase;
    }

    /**
     * @return the totalamount
     */
    public double getTotalamount() {
        return totalamount;
    }

    /**
     * @param totalamount the totalamount to set
     */
    public void setTotalamount(double totalamount) {
        this.totalamount = totalamount;
    }

    /**
     * @return the status
     */
    public boolean isStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(boolean status) {
        this.status = status;
    }
    
    
    
    
}
